<?xml version="1.0" encoding="UTF-8"?>
<ui:composition
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
	xmlns:f="http://xmlns.jcp.org/jsf/core"
	xmlns:h="http://xmlns.jcp.org/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
>
	
	<!--左侧-->
	<div class="my_left">
		<!--左侧div-->
		<div class=" user_management">
			<dl class="user_detailed">
				<dt>
					<img
						src="#{resource['img/first/in_tx.png']}"
						width="57"
						height="58"
					/>
					<ui:remove>
						<h:form>						
							<p:commandLink value="注销" action="/index.xhtml?faces-redirect=true" actionListener="#{logout.submit}" ajax="false" immediate="true"></p:commandLink>
						</h:form>
					</ui:remove>
				</dt>
				<dd>
					<h5>
						欢迎您，
						<span>
							<h:outputText value="#{userService.loginedUser.cnname}" />
							
							<span class="head-right">
								<div class="userslideDown">
									<a href="javascript:;" class="superUser"><i class="ico-tri"></i></a>
									<div class="slidedownBox">
										<h:form>				
											<ul>
												<li>
													<p:commandLink value="注销" action="/index.xhtml?faces-redirect=true" actionListener="#{authContoller.logout()}" ajax="false" immediate="true"></p:commandLink>
												</li>
											</ul>
										</h:form>
									</div>
								</div>
							</span>
						</span>
					</h5>
					<p class="user-logintime">
						当前时间：<br/>
						<span>
							<h:outputText value="#{currentDatetime}">
								<f:convertDateTime pattern="yyyy-MM-dd HH:mm"/>
							</h:outputText>
						</span>
					</p>
				</dd>
			</dl>
		</div>
		<div class="item-listbox ">
			<ul>
				<li>
					<p:link outcome="/index.xhtml" value="平台首页" target="_blank"></p:link>
				</li>
				<li>
					<p:link outcome="/business/supplier/UnapplyTradeList.xhtml" value="我收到的项目邀请"></p:link>					
				</li>
				<li>
					<p:link outcome="/business/supplier/AppliedTradeList.xhtml" value="我参与的项目"></p:link>					
				</li>
				<li>
					<p:link outcome="/business/supplier/SuccessTradeList.xhtml" value="我中选的项目"></p:link>					
				</li>
				<li>
					<p:link outcome="/business/supplier/CancelledTradeList.xhtml" value="申请取消的项目"></p:link>					
				</li>
				<li>
					<p:link outcome="/business/supplier/InProcessTradeList.xhtml" value="办理中的项目"></p:link>
				</li>
				
				<li>
					<p:link outcome="/business/supplier/DoneTradeList.xhtml" value="已办理完成的项目"></p:link>					
				</li>
				<li>
					<p:link outcome="/business/supplier/ApplingDoneTradeList.xhtml" value="可申请结项的项目"></p:link>					
				</li>
				<ui:remove><li>
					<p:link outcome="/business/supplier/NotReceivedTradeList.xhtml" value="我未收到的项目邀请"></p:link>					
				</li></ui:remove>
				<li>
					<p:link outcome="/business/supplier/RatedTradeList.xhtml" value="我收到的服务评价"></p:link>					
				</li>
				<li>
					<p:link outcome="/business/supplier/NotificationList.xhtml" value="消息通知" ></p:link>					
				</li>
				<li>
					<p:link outcome="/business/supplier/unitInfo.xhtml" value="机构信息">
						<f:param name="self" value="true"></f:param>
					</p:link>					
				</li>
				<li>
					<p:link outcome="/business/supplier/SupplierAuditFailedBasinInfo.xhtml?serviceSupplierId=#{userService.getLoginedUser().id}" value="机构基本信息（审核未通过）" rendered="#{not empty userService.getLoginedUser().auditted  &amp;&amp; not userService.getLoginedUser().auditted}"></p:link>					
				</li>
				<li>
					<p:link outcome="/business/supplier/SupplierCertList.xhtml" value="我的资质" ></p:link>					
				</li>
				
				<li>
					<p:link outcome="/business/supplier/SupplierDeterminedRecordList" value="我的待定名单" ></p:link>					
				</li>
				<li>
					<p:link outcome="/business/supplier/BulletinList.xhtml" value="公告要求参考" ></p:link>				
				</li>
			</ul>
		</div>
	</div>
</ui:composition>